package com.aliyun.messagemgt.common.constants;

/**
 * Created with IDEA
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/1/25
 * @time:9:49
 */
public class WeixinConstant {

    public static final String CORP_ID = "corpid";

    public static final String CORP_SECRET = "corpsecret";

    public static final String ACCESS_TOKEN = "access_token";

    public static final String CHAT_ID = "chatid";
    /**
     * token 过期错误码
     */
    public static final Integer TOKEN_EXPIRED_ERROCODE = 42001;
    /**
     * 发送成功
     */
    public static final Integer SUCCESS_ERROCODE = 0;

    public static final String AT_ALL = "@all";

    /**
     * 消息类别
     * 文本消息
     */
    public static final String TEXT = "text";
    /**
     * 图片消息
     */
    public static final String IMAGE = "image";
    /**
     * 语音消息
     */
    public static final String VOICE = "voice";
    /**
     * 视频消息
     */
    public static final String VIDEO = "video";
    /**
     * 文件消息
     */
    public static final String FILE = "file";
    /**
     * 文本卡片消息
     */
    public static final String TEXTCARD = "textcard";
    /**
     * 图文消息
     */
    public static final String NEWS = "news";
    /**
     * 图文消息（mpnews）
     */
    public static final String MPNEWS = "mpnews";
    /**
     * markdown消息
     */
    public static final String MARKDOWN = "markdown";
    /**
     * 小程序通知消息
     */
    public static final String MINIPROGRAM_NOTICE = "miniprogram_notice";
    /**
     * 任务卡片消息
     */
    public static final String TASKCARD = "taskcard";
}
